package com.csun.cmny.provider.service.impl;

import com.csun.cmny.core.support.BaseService;
import com.csun.cmny.provider.dao.OmcNursingRoomBindMapper;
import com.csun.cmny.provider.model.domain.OmcNursingRoomBind;
import com.csun.cmny.provider.model.dto.FollowDataPageQueryOld;
import com.csun.cmny.provider.service.OmcNursingRoomBindService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
@Slf4j
@Transactional
public class OmcNursingRoomBindServiceImpl extends BaseService<OmcNursingRoomBind> implements OmcNursingRoomBindService {
    @Resource
    private OmcNursingRoomBindMapper omcNursingRoomBindMapper;

    @Override
    public List<Long> selectTemperatureByNuringId(FollowDataPageQueryOld followDataPageQueryOld) {
        return omcNursingRoomBindMapper.selectTemperatureByNuringId(followDataPageQueryOld);
    }
}
